package com.ctshk.rpc.train.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 火车票产品加幅策略规则dto
 * </p>
 *
 * @author 彭柳霖
 * @since 2021-03-15
 */
@Data
@ApiModel(value="BusProductIncreaseStrategyRuleDTO对象", description="火车票产品加幅策略规则dto")
public class TrainProductIncreaseStrategyRuleDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty(value = "加幅策略id")
    private Long increaseStrategyId;

    @ApiModelProperty(value = "渠道全称")
    private String channelFullName;

    @ApiModelProperty(value = "价格类型")
    private Integer priceType;

    @ApiModelProperty(value = "价格")
    private BigDecimal price;

    @ApiModelProperty(value = "可售类型")
    private Integer saleableType;

    @ApiModelProperty(value = "最大可售数量")
    private Integer saleableNumber;

    @ApiModelProperty(value = "已售数量")
    private Integer soldNumber;

    @ApiModelProperty(value = "剩余可售数量")
    private Integer remainderNumber;

    @ApiModelProperty(value = "自定义id")
    private Long customId;

}
